package com.hxzy.shop.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "创建实例请求对象")
public class CreateInstanceReq implements Serializable {

    @ApiModelProperty("接口名")
    private String action;
    @ApiModelProperty("订单 ID")
    private String orderId;
    @ApiModelProperty("购买者账号 ID")
    private String accountId;

    @ApiModelProperty("用户在腾讯云开放平台的标识")
    private String openId;
    @ApiModelProperty("云市场产品 ID")
    private Integer productId;
    @ApiModelProperty("云市场的实例ID")
    private String resourceId;
    @ApiModelProperty("接口请求标识，主要应用于问题排查")
    private String requestId;

    @ApiModelProperty("产品信息")
    private ProductInfoReq productInfo;

    @ApiModelProperty("扩展字段对象")
    private ExtendInfoReq extendInfo;

    @ApiModelProperty("用户下单信息")
    private UserCollectionInfoReq userCollectionInfo;

    @ApiModelProperty("实例标识 ID")
    private String signId;
    @ApiModelProperty("新的实例到期时间（yyyy-MM-dd HH:mm:ss）")
    private Date instanceExpireTime;

    @ApiModelProperty("随机字符串")
    private String echoback;
}
